package org.bhf.service;

import javax.servlet.http.HttpServletRequest;

/**
 * Interface implemented by view resolvers.
 */
public interface ViewResolver
{
    /**
     * Resolve a view.
     *
     * @param viewBase The view base of the <code>Module</code>.
     * @param viewName The view resource.
     * @param request the <code>ServletRequest</code>.  Must not be <code>null</code>.
     *
     * @return Resolved path to view.
     */
    String  resolveView( String viewBase, String viewName, HttpServletRequest request );
}